package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.RuleGroupEntity;

public class RuleGroupDto {
    private Integer ruleGroupId;
    private Integer ruleGroupType;
    private String ruleGroupName;
    private String ruleGroupRemarks;
    private String ruleDeviceCount;
    private String ruleCreateTime;
    private Integer ruleGropOrgId;

    public RuleGroupDto() {
    }

    public RuleGroupDto(Integer ruleGroupId, String ruleGroupName) {
        this.ruleGroupId = ruleGroupId;
        this.ruleGroupName = ruleGroupName;
    }

    public Integer getRuleGroupId() {
        return ruleGroupId;
    }

    public void setRuleGroupId(Integer ruleGroupId) {
        this.ruleGroupId = ruleGroupId;
    }

    public Integer getRuleGroupType() {
        return ruleGroupType;
    }

    public void setRuleGroupType(Integer ruleGroupType) {
        this.ruleGroupType = ruleGroupType;
    }

    public String getRuleGroupName() {
        return ruleGroupName;
    }

    public void setRuleGroupName(String ruleGroupName) {
        this.ruleGroupName = ruleGroupName;
    }

    public String getRuleGroupRemarks() {
        return ruleGroupRemarks;
    }

    public void setRuleGroupRemarks(String ruleGroupRemarks) {
        this.ruleGroupRemarks = ruleGroupRemarks;
    }

    public String getRuleDeviceCount() {
        return ruleDeviceCount;
    }

    public void setRuleDeviceCount(String ruleDeviceCount) {
        this.ruleDeviceCount = ruleDeviceCount;
    }

    public String getRuleCreateTime() {
        return ruleCreateTime;
    }

    public void setRuleCreateTime(String ruleCreateTime) {
        this.ruleCreateTime = ruleCreateTime;
    }

    public Integer getRuleGropOrgId() {
        return ruleGropOrgId;
    }

    public void setRuleGropOrgId(Integer ruleGropOrgId) {
        this.ruleGropOrgId = ruleGropOrgId;
    }

    public RuleGroupEntity toBean() {
        return new RuleGroupEntity(ruleGroupId, ruleGroupType, ruleGroupName, ruleGroupRemarks, ruleDeviceCount, ruleCreateTime, ruleGropOrgId);
    }
}
